package cn.iocoder.yudao.adminserver.franky.LRU;

import java.util.concurrent.atomic.AtomicLong;

/**
 * @Description:
 * @Author: franky
 * @CreateDate: 2021/4/19 1:34 下午
 * @Version: 1.0
 */
public enum Singleton5 {
    INSTANCE;
    private AtomicLong atomicLong = new AtomicLong(0);
    public long getId() {
        return atomicLong.incrementAndGet();
    }
}
